package question3;

public abstract class Bird extends Animal{
    private  String color;

    public Bird() {
    }

    public Bird(String name, String sex, String age, String color) {
        super(name, sex, age);
        this.color = color;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
    public abstract  void fly();

}
